<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<!-- load other css, js and resources -->
</h:head>

<h:body>

 
<p:lineChart id="filled" value="#{chartBean.categoryModel}" legendPosition="ne" fill="true"
             title="Filled" style="height:300px;margin-top:20px" xaxisLabel="Year" yaxisLabel="Births" />

 <p:lineChart id="stacked" value="#{chartBean.categoryModel}" legendPosition="ne" stacked="true" fill="true"
             title="Stacked and Filled" style="height:300px;margin-top:20px" xaxisLabel="Year" yaxisLabel="Births" />
                   
</h:body>
</html>